package com.example.treeHole.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Date;

public class UserInfo {

    private String userId;

    private String userName;

    private String phone;

    private String virtuallyName;

    private String virtuallyImage;

    /**
     * 虚拟的个性签名
     */
    private String personal;

    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    @ExcelProperty("password")
    private String passWord;

    private String neadSculpture;

    private String createBy;

    private String createName;
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createDate;

    private String lastUpdateBy;

    private String lastUpdateName;
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date lastUpdateDate;

    private String userSex;

    private int userAge;

    private String token;

    private String userIcon;

    private String roleId;

    private int roleType;

    /**
     * 当前的虚拟人物id
     */
    private String virtuallyId;
    /**
     * 用于标识前端传来的状态
     * 1.表示切换
     * 2.表示选择
     */
    private String status;

    /**
     * 用户使用过的虚拟
     */
    private String virtuallyUsed;


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getPassWord() {
        return passWord;
    }

    public void setPassWord(String passWord) {
        this.passWord = passWord == null ? null : passWord.trim();
    }

    public String getNeadSculpture() {
        return neadSculpture;
    }

    public void setNeadSculpture(String neadSculpture) {
        this.neadSculpture = neadSculpture == null ? null : neadSculpture.trim();
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName == null ? null : createName.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getLastUpdateBy() {
        return lastUpdateBy;
    }

    public void setLastUpdateBy(String lastUpdateBy) {
        this.lastUpdateBy = lastUpdateBy == null ? null : lastUpdateBy.trim();
    }

    public String getLastUpdateName() {
        return lastUpdateName;
    }


    public void setLastUpdateName(String lastUpdateName) {
        this.lastUpdateName = lastUpdateName == null ? null : lastUpdateName.trim();
    }

    public Date getLastUpdateDate() {
        return lastUpdateDate;
    }

    public void setLastUpdateDate(Date lastUpdateDate) {
        this.lastUpdateDate = lastUpdateDate;
    }

    public String getUserSex() {
        return userSex;
    }

    public void setUserSex(String userSex) {
        this.userSex = userSex;
    }

    public int getUserAge() {
        return userAge;
    }

    public void setUserAge(int userAge) {
        this.userAge = userAge;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getUserIcon() {
        return userIcon;
    }

    public void setUserIcon(String userIcon) {
        this.userIcon = userIcon;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getVirtuallyId() {
        return virtuallyId;
    }

    public void setVirtuallyId(String virtuallyId) {
        this.virtuallyId = virtuallyId;
    }

    public String getVirtuallyName() {
        return virtuallyName;
    }

    public void setVirtuallyName(String virtuallyName) {
        this.virtuallyName = virtuallyName;
    }

    public String getVirtuallyImage() {
        return virtuallyImage;
    }

    public void setVirtuallyImage(String virtuallyImage) {
        this.virtuallyImage = virtuallyImage;
    }

    public String getPersonal() {
        return personal;
    }

    public void setPersonal(String personal) {
        this.personal = personal;
    }

    public String getStatus() {

        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getVirtuallyUsed() {
        return virtuallyUsed;
    }

    public void setVirtuallyUsed(String virtuallyUsed) {
        this.virtuallyUsed = virtuallyUsed;
    }

    public int getRoleType() {
        return roleType;
    }

    public void setRoleType(int roleType) {
        this.roleType = roleType;
    }
}